package org.freelancer.app.controllers;

import java.util.List;

import org.freelancer.app.models.Venta;
import org.freelancer.app.services.VentasManager;
import org.springframework.beans.factory.annotation.Autowired;

public class ReportesVentas {
	
	private List<Venta> reporteventadiarialist;
	
	@Autowired
	private VentasManager manejoventas; 

	public String reportarventaDiaria(){
		reporteventadiarialist=manejoventas.reporteventaDiariaS();
		return "success";
	}

	public List<Venta> getReporteventadiarialist() {
		return reporteventadiarialist;
	}

	public void setReporteventadiarialist(List<Venta> reporteventadiarialist) {
		this.reporteventadiarialist = reporteventadiarialist;
	}
	
}
